
<#include "header.ftl">
 <link rel="stylesheet" href="${Domain}common/ufinder/themes/css/ufinder.css"/>
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li ><a href="${Domain}my/patient/list">患者</a></li>
						  <li class="am-active">${patient.name}附件</li>						  
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                 <div class="widget-title  am-fl">
                                   	患者:${patient.name}
                                                                                           性别：<#switch patient.gender>
										           <#case 0> 未知 <#break>
										           <#case 1>男<#break>
										           <#case 2>女<#break>
										           <#default>未知
										 </#switch>
									 年龄：${patient.Age()}
									 身份证：${patient.SimpleNo()}
								</div>
								<div class="widget-function am-fr">
                                    <a href="${Domain}my/patient/annexadd/${patient.id}?url=${url}" class="am-icon-plus"    data-am-popover="{theme: 'success sm',content: '新增附件', trigger: 'hover focus'}"></a>
                                </div>

                            </div>
<div class="widget-body  am-fr">

<div id="annex-container"></div>
	
	
								
<script>								
var serverUrl=	'${Domain}api/upload/ufinder/${patient.id}';	
var domain='${Domain}';	
var realUrl='${Domain}annex/${user.main}/${patient.id}'				
$(function () {
						    
		 window.uf = UF.getUFinder('annex-container');
});
</script>
<script src="${Domain}common/ufinder/ufinder.config.js"></script>
 <script src="${Domain}common/ufinder/ufinder.js"></script>
<script src="${Domain}common/ufinder/lang/zh-cn/zh-cn.js"></script>	
							

     
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        
 </div>     
 
    
<#include "footer.ftl">